//---------------------------------------------------------------------------

#include <vcl.h>
#pragma hdrstop

#include "Cara.h"

//---------------------------------------------------------------------------

#pragma package(smart_init)
Cara::Cara(int numVN){
        nVN=numVN;
        vn=new VerticeNormal*[nVN];

}

Cara::~Cara(){
        for(int i=0;i<nVN;i++){
                delete vn[i];
        }
        delete [] vn;
}

int Cara::getVN(){
        return nVN;
}

int Cara::getIN(int j){
        return vn[j]->getIN();
}

int Cara::getIV(int j){
        return vn[j]->getIV();
}

void Cara::ponVN(VerticeNormal* vN, int i){
        vn[i]=vN;
}
